package com.example.xungeng2;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement
@ServletComponentScan
@EnableCaching                  //开启SpringCache框架服务
public class Xungeng2Application {

    public static void main(String[] args) {
        SpringApplication.run(Xungeng2Application.class, args);
        System.out.println("巡更系统2启动成功");
    }
}